package com.ruoyi.core.domain;

import java.util.List;
import java.util.Date;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 快递发货短信通知记录对象 sms_record
 * 
 * @author lgc
 * @date 2020-12-01
 */
public class SmsRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 短信记录id */
    @Excel(name = "短信记录id")
    private Long smsRecordId;

    /** 消费短信用户 */
    private Long userId;

    /** 短信使用时间 */
    @Excel(name = "短信使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 订单发货id */
    @Excel(name = "订单发货id")
    private Long ordersId;

    /** 快递发货信息 */
    private List<Orders> ordersList;

    public void setSmsRecordId(Long smsRecordId) 
    {
        this.smsRecordId = smsRecordId;
    }

    public Long getSmsRecordId() 
    {
        return smsRecordId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setOrdersId(Long ordersId) 
    {
        this.ordersId = ordersId;
    }

    public Long getOrdersId() 
    {
        return ordersId;
    }

    public List<Orders> getOrdersList()
    {
        return ordersList;
    }

    public void setOrdersList(List<Orders> ordersList)
    {
        this.ordersList = ordersList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("smsRecordId", getSmsRecordId())
            .append("userId", getUserId())
            .append("createdDate", getCreatedDate())
            .append("ordersId", getOrdersId())
            .append("ordersList", getOrdersList())
            .toString();
    }
}
